package com.roberto.entities;

import com.badlogic.gdx.graphics.g2d.Sprite;
import com.badlogic.gdx.math.Rectangle;

abstract class Entity {

	protected boolean destroyed;

	public float x, y;
	public float width, height;

	public void destroy() {
		destroyed = true;
	}

	public boolean isDestroyed() {
		return destroyed;
	}

	public abstract Sprite getSprite();

	public abstract Rectangle getBounds();

	public abstract void update(float delta);
	/*
	 * public Rectangle getEntity();
	 * 
	 * public Texture getEntityImage();
	 * 
	 * public void disposeImage();
	 * 
	 * public void destroy();
	 * 
	 * public boolean isDestroyed();
	 */

}
